

package method_calling;


public class TestMethods {

    
    public static void main(String[] args) {
      MyMethods test1 = new MyMethods();
      int aVal = test1.total();
      System.out.println("Method result is:" + aVal);
      test1.printtext();
      aVal = test1.total(50);
      System.out.println("Second Method result is:" + aVal);
    }
    
}
